from django.urls import path
from . import views  # 视图文件

urlpatterns = [

    path('demo_index/', views.demo_index, name='demo_index'),  # 博客首页
    path('demo_add/', views.demo_add, name='demo_add'),  # 博客添加页
    path('demo_list/', views.demo_list, name='demo_list'),  # 博客列表页
    path('demo_detail/<blog_id>', views.demo_detail, name='demo_detail'),  # 博客详情页
    path('delete/<blog_id>', views.delete, name='delete'),  # 删除博客内容
    path('update/<blog_id>', views.update, name='update'),  # 编辑博客内容

]
